
Ext.Ajax.on("requestcomplete", function(conn, response, options){
	if(response.getResponseHeader==undefined){
		return;
	}
	if(response.getResponseHeader("sessionstatus") === "timeout"){
		window.location.href = "index";
	}
}, this);

//Ext.Ajax.on('beforerequest', this.showSpinner, this);
//Ext.Ajax.on('requestcomplete', this.hideSpinner, this);
//Ext.Ajax.on('requestexception', this.hideSpinner, this);
